package com.pty.demo.structural.bridge;

/**
 * @author pengty
 * @date 2020/3/12
 */
public class BridgeFishCooking extends AbstractFishCooking {

    public BridgeFishCooking(CookingStylesInterface cookingStylesInterface) {
        super(cookingStylesInterface);
    }

    @Override
    public void cookingFish() {
        cookingStylesInterface.cooking();
        System.out.println("鱼烹饪好啦");
    }
}
